package com.zd.kids.DataBean;

/**
 * @ClassName: com.zd.kids.DataBean
 * @Description:
 * @Author: hyy
 * @Date: 2020/6/24
 * @Time: 4:05 PM
 */
public class TestTrainDataBean {


    private String questionName;
    private String title;
    private String pinyin;
    private String pinyin_grammar;
    private int newwordid;
    private int time;
    private int assess_record_id;

    public int getAssess_record_id() {
        return assess_record_id;
    }

    public void setAssess_record_id(int assess_record_id) {
        this.assess_record_id = assess_record_id;
    }

    public String getQuestionName() {
        return questionName == null ? "" : questionName;
    }

    public void setQuestionName(String questionName) {
        this.questionName = questionName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    private int id;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getPinyin_grammar() {
        return pinyin_grammar;
    }

    public void setPinyin_grammar(String pinyin_grammar) {
        this.pinyin_grammar = pinyin_grammar;
    }

    public int getNewwordid() {
        return newwordid;
    }

    public void setNewwordid(int newwordid) {
        this.newwordid = newwordid;
    }

    public int getTime() {

        if (time == 0) {
            return 4;
        }
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }
}
